package nus.iss.laps.dao;

import java.sql.SQLException;
import java.util.List;

import nus.iss.laps.model.User;

public interface IUser {
	public boolean addUser(User user) throws SQLException;
	public boolean updateUser(User user) throws SQLException;
	public boolean deleteUser(String loginID) throws SQLException;
	public User getUser(String loginID) throws SQLException;
	public List<User> getAllUser() throws SQLException;
	public User isExisted(String loginID, String password) throws SQLException;
	public boolean isExisted(String loginID) throws SQLException;
}
